/**
 * 
 */
package com.cdhospital.congfig;

import com.cdhospital.Model.Graduatemessage;
import com.cdhospital.websitecontroller.WebsiteExpertController;
import com.cdhospital.websitecontroller.WebsiteGraduatemessageController;
import com.cdhospital.websitecontroller.WebsiteIndexController;
import com.cdhospital.websitecontroller.WebsiteNewsController;
import com.jfinal.config.Routes;

/**
 * @author zhoushuo
 * 
 */
public class WebsiteRoutes extends Routes {

	/*
	 * (non-Javadoc)
	 * 
	 * @see com.jfinal.config.Routes#config()
	 */
	@Override
	public void config() {
		// 设置默认的文件路径
		 setBaseViewPath("WEB-INF/view/website");
		add("/",WebsiteIndexController.class);
		 add("/graduatemessage",WebsiteGraduatemessageController.class);
		 add("/news",WebsiteNewsController.class);
		 add("/expert",WebsiteExpertController.class);
	}

}
